package com.ruoyi.library.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图书检索信息对象 retrieve
 * 
 * @author ruoyi
 * @date 2025-05-07
 */
public class Retrieve extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 检索编号 */
    private Long id;

    /** 图书编号 */
    @Excel(name = "图书编号")
    private Long bookId;

    /** 当前库存 */
    @Excel(name = "当前库存")
    private Long actualNumber;

    /** 总库存数 */
    @Excel(name = "总库存数")
    private Long totalnumber;

    /** 位置信息 */
    @Excel(name = "位置信息")
    private String location;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setBookId(Long bookId) 
    {
        this.bookId = bookId;
    }

    public Long getBookId() 
    {
        return bookId;
    }

    public void setActualNumber(Long actualNumber) 
    {
        this.actualNumber = actualNumber;
    }

    public Long getActualNumber() 
    {
        return actualNumber;
    }

    public void setTotalnumber(Long totalnumber) 
    {
        this.totalnumber = totalnumber;
    }

    public Long getTotalnumber() 
    {
        return totalnumber;
    }

    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bookId", getBookId())
            .append("actualNumber", getActualNumber())
            .append("totalnumber", getTotalnumber())
            .append("location", getLocation())
            .toString();
    }
}
